#include <bits/stdc++.h>
using namespace std;
#define PI 3.14159

int main()
{
	double a;
	char c;
  int i;
	float f;
	scanf("%c",  &c);
  printf("  %c\n", c);
  printf(" %c%c%c\n", c, c, c);
  printf("%c%c%c%c%c\n", c, c, c, c, c);
  printf(" %c%c%c\n", c, c, c);
  printf("  %c\n", c);
  return 0;
}
